package com.beamfield.dao.lab;

import com.beamfield.model.LabGjbhchd;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface LabGjbhchdMapper {
    int deleteByPrimaryKey(Long id);

    int insert(LabGjbhchd record);

    int insertSelective(LabGjbhchd record);

    LabGjbhchd selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(LabGjbhchd record);

    int updateByPrimaryKey(LabGjbhchd record);

    List<LabGjbhchd> getGangjinbaohuList(@Param("beamId") Long beamId, @Param("bid") String bid, @Param("offset") String offset, @Param("limit") String limit, @Param("startDate") String startDate,@Param("endDate") String endDate);

    int countGangjinbaohuList(@Param("beam_id") Long beam_id, @Param("bid") String bid, @Param("startDate") String startDate,@Param("endDate") String endDate);

    List<String> getGangjinbaohuBiaoDuan(Long beamId);
}